package com.pyb.java.commonutil.eventbus;
/**
 *
 */
public class EventBusBuild {

    private EventBusMessage eventBusMessage;


    public EventBusBuild(int what) {
        eventBusMessage = new EventBusMessage(what);
    }

    public EventBusBuild put(String key, Object value) {
        eventBusMessage.put(key, value);
        return this;
    }

    public void post() {
        EventBusUtils.getEventBus().post(eventBusMessage);
    }
}
